package com.ruoyi.orderview.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * VIEW对象 static_process
 *
 * @author ruoyi
 * @date 2022-02-20
 */
public class StaticProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "编号")
    private Long id;

    /** $column.columnComment */
    @Excel(name = "用户编号")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "用户名")
    private String userName;

    /** $column.columnComment */
    @Excel(name = "订单编号")
    private String orderId;

    /** $column.columnComment */
    @Excel(name = "工作时间")
    private Date workTime;

    /** $column.columnComment */
    @Excel(name = "订单名称")
    private String orderName;

    /** $column.columnComment */
    @Excel(name = "工作地点")
    private String workPlace;

    /** $column.columnComment */
    @Excel(name = "工作量")
    private Long workLoad;

    /** $column.columnComment */
    @Excel(name = "工作量单位")
    private String workUnit;

    /** $column.columnComment */
    @Excel(name = "备注")
    private String note;

    /** $column.columnComment */
    @Excel(name = "审批")
    private Long approval;

    /** $column.columnComment */
    @Excel(name = "类型")
    private String type;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }
    public void setWorkTime(Date workTime)
    {
        this.workTime = workTime;
    }

    public Date getWorkTime()
    {
        return workTime;
    }
    public void setOrderName(String orderName)
    {
        this.orderName = orderName;
    }

    public String getOrderName()
    {
        return orderName;
    }
    public void setWorkPlace(String workPlace)
    {
        this.workPlace = workPlace;
    }

    public String getWorkPlace()
    {
        return workPlace;
    }
    public void setWorkLoad(Long workLoad)
    {
        this.workLoad = workLoad;
    }

    public Long getWorkLoad()
    {
        return workLoad;
    }
    public void setWorkUnit(String workUnit)
    {
        this.workUnit = workUnit;
    }

    public String getWorkUnit()
    {
        return workUnit;
    }
    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }
    public void setApproval(Long approval)
    {
        this.approval = approval;
    }

    public Long getApproval()
    {
        return approval;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("orderId", getOrderId())
                .append("workTime", getWorkTime())
                .append("orderName", getOrderName())
                .append("workPlace", getWorkPlace())
                .append("workLoad", getWorkLoad())
                .append("workUnit", getWorkUnit())
                .append("note", getNote())
                .append("approval", getApproval())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("type", getType())
                .toString();
    }
}
